class CreateFoods < ActiveRecord::Migration[5.0]
  def change
    create_table :foods do |t|
      t.string :name
      t.float :show_price,default: 0.0
      t.float :sell_price,default: 0.0
      t.integer :food_type_id
      t.attachment :attachment
      t.text :description        
      t.timestamps
    end
  end
end
